package com.niuwa.p2p.entity.yeepay;

import java.util.Date;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.niuwa.p2p.core.constant.YeePayBussinesEnum;
import com.niuwa.p2p.core.constant.YeePayServiceEnum;
import com.niuwa.p2p.core.constant.YeePaySubjoinEnum;

@Document(collection = "yee_pay")
public class YeePayMongoInfo {
	@Field(value = "request_no")
	private String requestNo;
	@Field(value = "platform_userno")
	private String platformUserNo;
	private String requestMessage;
	private String responseMessage;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date createDate;
	private String sign;
	private YeePaySubjoinEnum yeePaySubjoinEnum; // 查询类型[账号查询 or 单笔查询]
	private YeePayServiceEnum yeePayServiceEnum; // service类型
	private YeePayBussinesEnum yeePayBussinesEnum; // 业务类型

	public String getRequestNo() {
		return requestNo;
	}

	public void setRequestNo(String requestNo) {
		this.requestNo = requestNo;
	}

	public String getRequestMessage() {
		return requestMessage;
	}

	public void setRequestMessage(String requestMessage) {
		this.requestMessage = requestMessage;
	}

	public String getResponseMessage() {
		return responseMessage;
	}

	public void setResponseMessage(String responseMessage) {
		this.responseMessage = responseMessage;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public YeePaySubjoinEnum getYeePaySubjoinEnum() {
		return yeePaySubjoinEnum;
	}

	public void setYeePaySubjoinEnum(YeePaySubjoinEnum yeePaySubjoinEnum) {
		this.yeePaySubjoinEnum = yeePaySubjoinEnum;
	}

	public String getPlatformUserNo() {
		return platformUserNo;
	}

	public void setPlatformUserNo(String platformUserNo) {
		this.platformUserNo = platformUserNo;
	}

	public YeePayServiceEnum getYeePayServiceEnum() {
		return yeePayServiceEnum;
	}

	public void setYeePayServiceEnum(YeePayServiceEnum yeePayServiceEnum) {
		this.yeePayServiceEnum = yeePayServiceEnum;
	}

	public YeePayBussinesEnum getYeePayBussinesEnum() {
		return yeePayBussinesEnum;
	}

	public void setYeePayBussinesEnum(YeePayBussinesEnum yeePayBussinesEnum) {
		this.yeePayBussinesEnum = yeePayBussinesEnum;
	}
}
